package com.btl.service.ai.biz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 分段问题表
 * </p>
 *
 * @author Tim
 * @since 2025-08-14
 */
@Getter
@Setter
@TableName("kw_segment_question")
@Builder
@AllArgsConstructor
public class KwSegmentQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标题 id
     */
    @TableId("id")
    private Long id;

    /**
     * 分段 id
     */
    @TableField("segment_id")
    private Long segmentId;

    /**
     * 文档 id
     */
    @TableField("document_id")
    private Long documentId;

    /**
     * 问题
     */
    @TableField("question")
    private String question;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;
}
